﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{config.webtitle}</title>
<meta content="{config.webkeyword}" name="keywords">
<meta content="{config.webdescription}" name="description">
<link media="screen" type="text/css" href="{config.templateskin}/css/style.css" rel="stylesheet">
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery.SuperSlide.2.1.1.js"></script>
<script type="text/javascript" src="{config.templateskin}/js/base.js"></script>
</head>

<body class="indexbg">
<!--Header-->
<%template src=/_header.html/%>
<!--/Header-->

<div class="boxwrap">
    <!--Focus-->
    <div class="focusBox">
    <ul class="pic"><%set (DataTable){focusNews}=get_news_list(1, 0, 8, "is_lock=0 and is_slide=1")%><%loop newsdr focusNews%><li><a title="{newsdr[title]}" target="_blank" href="<%linkurl("news_show",{newsdr[id]})%>"><img src="{newsdr[img_url]}" alt="{newsdr[title]}" /></a></li><%/loop%></ul>
    <a class="prev" href="javascript:void(0)"></a><a class="next" href="javascript:void(0)"></a>
    <ul class="hd"><%set (DataTable){focusNewsNum}=get_news_list(1, 0, 8, "is_lock=0 and is_slide=1")%><%loop newsdrnum focusNewsNum%><li></li><%/loop%></ul>
    </div>
    <!--/Focus-->
  <div class="marT10">
    <!--Hot Goods-->
    <div class="igoods_box">
      <div class="igoods_list">
        <dl class="head">
          <dt>知味商城</dt>
          <dd>
            <ul class="sub_nav">
              <%set (DataTable){category_list1}=get_category_child_list(2, 0)%>
              <%loop cdr1 category_list1%>
              <li class="n<%write cdr1__loop__id%>"><a href="<%linkurl("goods_list",{cdr1[id]})%>">{cdr1[title]}</a></li>
              <%/loop%>
            </ul>
          </dd>
        </dl>
        
        <ul class="list">
          <%set (DataTable){redgoods}=get_goods_list(2, 0, 8, "is_lock=0 and is_red=1")%>
          <%loop goodsdr1 redgoods%>
          <li>
            <a class="pic" href="<%linkurl("goods_show",{goodsdr1[id]})%>"><img src="{goodsdr1[img_url]}" alt="{goodsdr1[title]}" /></a>
            <div class="info">
              <a class="name" href="<%linkurl("goods_show",{goodsdr1[id]})%>">{goodsdr1[title]}</a>
              <div class="price">
                <span>价格：</span>
                <strong>￥{goodsdr1[sell_price]}</strong>
              </div>
            </div>
          </li>
          <%/loop%>
        </ul>
      </div>
    </div>
    <!--/Hot Goods-->
  </div>
</div>
<!--Footer-->
<%template src=/_footer.html/%>
<!--/Footer-->
</body>
</html>
<script type="text/javascript">
    $(".focusBox").slide({ mainCell: ".pic", effect: "left", autoPlay: true, delayTime: 500 });
</script>
